<!--
  Generated template for the ReBuyListPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar color="orange">
    <ion-title>
      复购列表
    </ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <div class="ht-f1f1f1 ht-overflow">
    <!-- 多任务 -->
    <div class=" ht-margin-bottom ht-background ht-bottom" padding-bottom (click)="pageRedirect('ReBuyDetailPage',{'id':task.id})" *ngFor="let task of tasks">
      <div class="flex flex-line-between">
        <!--<div class="ht-font-f29603">-->
        <!--信用值：{{info.credit_line}}-->
        <!--</div>-->
        <!--<span class="ht-infloat-block ht-float-left ht-font-14 ht-333 ht-padding-lr" *ngIf="info.click_pay === 1">-->
        <!--有偿分享任务-->
        <!--</span>-->
        <!-- <span class="ht-font-f29603 ht-f1f1f1 padding-5 ht-radius-10">
                     任务数量 {{task.num}} 个 | 剩余任务 {{task.num}} 个
                 </span> -->
        <div>
          <div class="">
            <div class="ht-padding-lr ht-line-30 ht-999 ht-font-14">
              申请日期：{{task.create_time}}
            </div>
          </div>
          <div class="">
            <!--<div class="ht-font-f29603">-->
            <!--信用值：{{info.credit_line}}-->
            <!--</div>-->
            <!--<span class="ht-infloat-block ht-float-left ht-font-14 ht-333 ht-padding-lr" *ngIf="info.click_pay === 1">-->
            <!--有偿分享任务-->
            <!--</span>-->
            <span class="ht-infloat-block ht-font-14 ht-333 ht-padding-lr" >
              申请数量：{{task.plan_num}}件
            </span>
          </div>
        </div>

        <div class="t-sj ht-font-14" padding-top>
          <i class="t-zt wait"  *ngIf="task.status==1||task.status==5">
            <span *ngIf="task.status==1">待确认</span>
            <span *ngIf="task.status==5">已结款</span>
          </i>
          <i class="t-zt success"  *ngIf="task.status==2">
              <span>已完成</span>
          </i>
          <i class="t-zt fail"  *ngIf="task.status==3||task.status==4">              
            <span *ngIf="task.status==3">已拒绝</span>
            <span *ngIf="task.status==4">过期关闭</span>
          </i>
        </div>

      </div>
    </div>
  </div>

</ion-content>